package com.server.mapper;

import com.server.entity.UpmsPermission;
import com.server.entity.UpmsUser;
import com.server.entity.UpmsUserPermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 用户权限关联表 Mapper 接口
 * </p>
 *
 * @author
 * @since 2020-04-03
 */
public interface UpmsUserPermissionMapper extends BaseMapper<UpmsUserPermission> {


    List<UpmsPermission> findPermissionByUserId(@Param("userId") Integer userId);
}
